Ext.ns('journal.ui');

// {{{
journal.ui.ValueField = Ext.extend(Ext.BoxComponent, (function() {
    return {

        // configurables
        // anything what is here can be configured from outside

        // {{{
        initComponent : function() {

            // hard coded config - cannot be changed from outside
            var config = {
                isFormField : true,
                autoEl : {
                    tag : 'div',
                    children : [ {
                        tag : 'div',
                        style : this.style,
                        html : this.value
                    } ]
                }
            };// var config

            // apply config
            Ext.apply(this, Ext.apply(this.initialConfig, config));

            // call parent
            journal.ui.ValueField.superclass.initComponent.apply(this, arguments);

        } // e/o function initComponent
    // }}}
    };
})()); // e/o extend

// register xtype
Ext.reg('journal.ui.ValueField', journal.ui.ValueField);
// }}}
